onEvent('recipes', event =>{
    
    let ingots = ['copper','bronze','tin','aluminum','silver','lead','nickel','zinc','brass','invar',
    'steel','constantan','gold','uranium','osmium','cobalt','iridium','electrum','signalum','lumium',
    'enderium','iron','cast_iron'];
    let mod = 'emendatusenigmatica'
               
    ingots.forEach((i) => {
        //output input
        event.recipes.createPressing([`${mod}:${i}_plate`], [`#forge:ingots/${i}`]);
        event.recipes.createPressing([`${mod}:${i}_rod`], [`#forge:plates/${i}`]);
    });

    const recipes = [
        {
            input:['minecraft:diamond'],
            output:['emendatusenigmatica:diamond_plate'],
        },
        {
            input:['minecraft:emerald'],
            output:['emendatusenigmatica:emerald_plate'],
        },
        {
            input:['framedcompactdrawers:framed_full_four'],
            output:['framedcompactdrawers:framed_half_four'],
        },
        {
            input:['framedcompactdrawers:framed_full_two'],
            output:['framedcompactdrawers:framed_half_two'],
        },
        {
            input:['framedcompactdrawers:framed_full_one'],
            output:['framedcompactdrawers:framed_half_one'],
        }
    ];

    recipes.forEach((i) => {
        //output input
        event.recipes.createPressing(i.output, i.input);
    });

    const rp = [
        {
            input:['minecraft:diamond','pneumaticcraft:ingot_iron_compressed'],
            output:['3x emendatusenigmatica:cast_iron_ingot'],
            heated : true,
        },
        {
            input:['minecraft:diamond_block','pneumaticcraft:compressed_iron_block'],
            output:['3x emendatusenigmatica:cast_iron_block'],
            heated : true,
        },
        {
            input:['9x kubejs:polluted_dust'],
            output:['kubejs:polluted_dirt'],
            heated : false,
        },
        {
            output : ['4x mekanism:steel_casing'],
            input : [
                Fluid.of('immersiveengineering:concrete', 1000),
                '8x kubejs:stagemachinery_2',
                '8x kubejs:plastic_steel_ingot',
                'kubejs:party_3_ingot',
                'thermal:upgrade_augment_1',
            ],
            heated : true,
        }
    ];

    rp.forEach((i) => {
        if(i.heated)
            event.recipes.createCompacting(i.output,i.input).heated();
        else
            event.recipes.createCompacting(i.output,i.input);
    });
    
});


